Ans: AIX(Advanced Interactive eXecutive) is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms. Originally released for the IBM 6150 RISC workstation, AIX now supports or has supported a wide variety of hardware platforms, including the IBM RS/6000 series and later IBM POWER and PowerPC-based systems, IBM API Bangalore System i, System/370 mainframes, PS/2 personal computers, and the Apple Network Server. AIX is based on UNIX System V with 4.3BSD-compatible extensions. It is one of four commercial operating systems that are presently certified to The Open Group's UNIX 03 standard (The others are Mac OS X, Solaris and HP-UX.)
Ans: SMIT is the System Management Interface Tool for AIX. It allows a user to navigate a menu hierarchy of commands, rather than using the command line. Invocation is typically achieved with the command smit. Experienced system administrators make use of the F6 function key which generates the command line that SMIT will invoke to complete the proposed task. SMIT also generates a log of commands that are performed in the Smit. script file. The Smit. script file automatically records the commands with the command flags and parameters used. The smit.script file can be used as an executable shell script to rerun system configuration tasks. SMIT also creates the smit.log file, which contains additional detailed information that can be used by programmers in extending the SMIT system.
Ans: The following are some unique system management features of AIX.
1. Logical Volume Manager:
The Logical Volume Manager (LVM) maintains the hierarchy of logical structures that manage disk storage.
2. System Resource Controller:
The System Resource Controller (SRC) provides a set of commands and subroutines for creating and controlling subsystems and is designed to minimize the need for human intervention in system processing.
3. Object Data Manager:
The Object Data Manager (ODM) is a data manager intended for the storage of system data.
4. Software Vital Product Data:
Certain information about software products and their installable options is maintained in the Software Vital Product Data (SWVPD) database.
5. Workload management:
Workload Manager (WLM) is designed to provide the system administrator with increased control over how the scheduler virtual memory manager (VMM) and the disk I/O subsystem allocate resources to processes. You can use WLM to prevent different classes of jobs from interfering with each other and to allocate resources based on the requirements of different groups of users.
6. Operating system updates:
The operating system package is divided into filesets, where each fileset contains a group of logically related customer deliverable files. Each fileset can be individually installed and updated.
Ans: Volume Group Descriptor Area. It contains the information about volume group to which the physical volume belongs to. It also contains the information about physical partitions, logical partitions and logical volumes.
Ans: Run the lsvg command on the volume group and look at the value for MAX PVs. The value is 32 for normal, 128 for big and 1,024 for scalable volume group.
Ans: The set of operating system commands, library subroutines and other tools that allow you to establish and control logical volume storage is called the Logical Volume Manager (LVM).
Ans: Use the following command, where s partition_size sets the number of megabytes (MB) in each physical partition where the partition_size is expressed in units of MB from one through 1,024. (It’s one through 131,072 for AIX 5.3.)
mkvg -y name_of_volume_group -s partition_size list_of_hard_disks
The partition_size variable must be equal to a power of two (for example: one, two, four or eight). The default value for standard and big volume groups is the lowest value to remain within the limitation of 1,016 physical partitions per physical volume. The default value for scalable volume groups is the lowest value to accommodate 2,040 physical partitions per physical volume.
Ans: You use the chvg command to change the characteristics of a volume group.
Ans: AIX is a multi-user system
When the user login he needs to provide the user name and password for authentication purposes.
After the successful login, AIX starts the SHELL program
Ans: #mklv -y name_of_logical_volume name_of_volume_group number_of_partition
Ans: To increase the size of the logical volume represented by the lv05 directory by three logical partitions, for example, type extendlv lv05 3.
Ans: You can display all logical volumes that are part of rootvg by typing the following command: #lsvg -l rootvg/
Ans: Run the following command to display information about the logical volume #lv1: lslv lv1.
Ans: You can run the alt_disk_copy command to copy the current rootvg to an alternate disk. The following example shows how to clone the rootvg to hdisk1: alt_disk_copy -d hdisk1.]
Ans: extendvg VolumeGroupName hdisk_new
migratepv hdisk_bad hdisk_new
reducevg -d VolumeGroupName hdisk_bad
Ans: mklvcopy LogicalVolumeName Numberofcopies syncvg VolumeGroupName
Ans: The no command sets or displays current or next boot values for network tuning parameters
Ans: Type one of the following: ifconfig -a or host Fully_Qualified_Host_Name. For example, host cyclop.austin.ibm.com.
Ans: Either of the following two commands will display the network interfaces: lsdev -Cc if or ifconfig -a. To get information about one specific network interface, for example tr0, run the command ifconfig tr0.
Ans: To activate the network interface tr0, run the command ifconfig tr0 up.
Ans: To display routing table information for an Internet interface, type netstat -r -f inet. To display interface information for an Internet interface, type netstat -i -f inet. To display statistics for each protocol, type netstat -s -f inet.
Ans: #mkvg –y datavg –s 128 hdisk1 (pv name)
#mklv -y datalv –t jfs2 datavg 1
#crfs –v jfs2 –d datalv –g datavg –a size=10M –m /fs1
Ans:
JFS:
JFS2:
Ans: # ls –li
# istat /etc/passwd
Ans: #lsvg vgname
#lquerypv –M hdiskname
Ans: #rmdev -l hdiskx
#chdev -l hdiskx -a max_transfer=0*80000
#mkdev -l hdiskx
Ans: # lsvg vg name
Get through the interview bar with our selected interview questions for IBM AIX Training enthusiasts
Ans: # cplv -v <new vg name> <sourcelvname>
Ans: Check disk size belong to vg , take two same size disk to mirror # bootinfo –s hdisk2 #lsvg –p rootvg Add one more disk of same size of already have disk having rootvg. # extendvg rootvg hdisk2 # lsvg –p rootvg Now mirror vg with background sync LV. It sync LVs in background with new LVs # mirrorvg –s rootvg Create a boot image # bosboot –ad /dev/hdisk2 #bosboot –ad /dev/hdisk1 Add a blv record of newly added disk, first check and then add. # bootlist –m normal -o
#bootlist –m normal hdisk2 hdisk1
Ans: First check the blv record using, # bootlist –m normal –o Remove the old blv record, using # chpv –c hdisk2 # bootlist –m normal hdisk1 # bootlist –m normal hdisk2 Now unmirrorvg # unmirrorvg rootvg hdisk2 # reducevg rootvg hdisk2 #lsvg –p rootvg # lspv # bootlist –m normal –o
Ans: PP size can be changed using a T-factor. If not then add a partitions in VG by adding one disk.
# chvg –t3 rootvg
Ans: T – factor means that it will change the pp size to increase the efficiency of vg
#chvg –t16 datavg
Cal-if suppose that datavg pp size is 1016 we can take t factor is 16 then it comes to 2048 and pv contains in vg is 2.
Ans: 128MB
Ans: Unmount all filesystems in VG.
#umount /test (mount point name)
#varyoffvg datavg
#exportvg datavg0
Importvg with new name
# importvg –y newvg hdisk4
Ans: A major number refers to a type of device. A device number is a major number, and a minor number specifies a particular device of that type or sometimes the operation mode of that device type.
Ans: diag command
Ans: # chvg –vy pv_name
# chvg –vn pv_name
#chvg –Qn vgname
#chvg –Qs vgname
Ans:
Ans:
Ans: # errpt –a # errpt –d H [H/W] # errpt –d S [S/W]
Ans: # errclear
Ans: #usr/lib/errdemon –s ____ [ size ]
Ans: # startsrc –g [ Demon name ]
# stopsrc [Demon name ]
# refrest [Demon name ]
# lssrc –al
Ans: rc.boot phase 3
Ans: /usr/lib/errdemon
Ans: Available state and defined state. When device is in defined state it means it cannot use. Not in ready state. Run cfgmgr try to make available known in the system that device. Available state means that device is ready to use
# lsdev –Cc disk
It displays which disks are available
Ans: # lsdev –Cc disk
Ans: Modify the /usr/lib/boot/unix directory and the /unix directory to be a symbolic link to the binary for the desired kernel.
Run the bosboot command to write a new system boot image.
Reboot the system.
The path name of the 64-bit kernel is /usr/lib/boot/unix_64, and the path name of the multiprocessor versions of the 32-bit kernel is /usr/lib/boot/unix_mp. # ln -sf /usr/lib/boot/unix_mp /unix # ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix # lslv -m hd5 # bosboot -ad /dev/ipldevice # shutdown -Fr # bootinfo -K (should now be 32)
Ans: To truly change the kernel to 64-bit from 32-bit, the system must be at the AIX® 5.1 or AIX 5.2levels.
# bootinfo –y
It shows a kernel is either 32-bit or 64-bit.
To truly change the kernel to 64-bit from 32-bit, the system must be at the AIX® 5.1 or AIX 5.2levels.
# bootinfo –y
It shows a kernel is either 32-bit or 64-bit.
To change to a 64-bit kernel, enter the following commands:
# ln -sf /usr/lib/boot/unix_64 /unix
# ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
# lslv -m hd5
# bosboot -ad /dev/ipldevice
# shutdown -Fr
255 any no. of vg can create.
Ans: Normal vg -32 pv, 256 lv
# mkvg –y normvg –s 128 hdisk4
Big vg: 128pv,512lv
# mkvg -B –y bigvg –s 128 hdisk9
Scalable vg: 1024pv, 4096 lv
# mkvg –S –y scalvg –s 512 hdisk1
Ans: #chvg –B vgname /big vg
# chvg –S/-G vgname /scale vg
Ans: VGDA: Volume Group Descriptor Area. It contains the information about the volume group to which the physical volume belongs to. It also contains information about physical partitions, logical partitions, and logical volumes.
VGSA: Volume Group Status Area it contains the information about physical partition from all physical volumes of the same volume group. It contains the status of VG
Ans: hd6
Ans: /dev/sysdumpdevnull
Ans: #sysdumpdev -L
Ans: /etc/swapspaces
Ans: # instfix –ik ptfname
Ans: Applied and commit state
In applied state if want to do any changes on installed software then we can do
But in commit the changes are not allowed to do. Once did installation.
A committed fileset update cannot be rejected.
Output from the installp -s command, which is used to get a list of applied software fileset updates and updates that are available to be either committed or rejected.
Ans: # installp –r –g fileset name
Ans: # oslevel –s
Ans: #oslevel -rq
Ans: # lslpp -L |grep -i (software_name)
Ans: #lslpp –h
Ans: #installp -C
Ans: #rmdev -dl
Ans: Pre-defined database PdDv, PdAt Customised database CuDv, CuAt
ODM Commands.
Ans: AIX logs messages as specified in /etc/syslog.conf file.
Ans: chuser –a account=true username
Ans: #chuser account_lock=true username
Ans: #backup -f /dev/rmt0
Ans: #restore -xvqf /dev/rmt0
Ans: #tar -rvf /dev/rmt0
Ans: # savevg –if /dev/rmt0 /vgname
Ans: # restvg –x –d –f /dev/rmt0
Ans: Run the prtconf command. If it is a CHRP machine, the string chrp appears on the Model Architecture line.
Ans: ODM generally used for Maintain the System information, whenever we install and reconfigure the hardware device and software, that information’s added in ODM,
Mainly ODM used to store the following information’s Hardware vital product data information Software information Smit menu Nim TCPIP Error log Device configuration information Display information for SMIT (menus, selectors, and dialogs) Vital product data for installation and update procedures Communications configuration information System resource information.
But we cannot see any ODM information in file format, but this ODM information available in many files and different path,
/etc/objrepos /usr/lib/objrepos /usr/share/lib/objrepos
You liked the article?
Like: 3
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.